package com.sgb.goods.utils.base.adapter;

import android.view.View;

import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;

import com.chad.library.adapter.base.BaseViewHolder;

/**
 * BaseDataBindingHolder
 * 注意：refresh-layout 2.0.1 bug：搭配使用空布局等会存在一系列错误，该错误在最新版本已修复。
 * @author cyj
 */
@Deprecated
public class BaseDataBindingHolder extends BaseViewHolder {

    public ViewDataBinding dataBinding;

    public BaseDataBindingHolder(View view) {
        super(view);
        dataBinding = DataBindingUtil.bind(view);
    }
}
